#pragma once

#include <delegate.h>

class Window
{
public:
	Window(void);
	Window(int width, int height);
	virtual ~Window(void);

	void Begin();
	bool IsRunning();
	void Update();
	void End();

private:
	void internalInit();

	// Data Section
protected:
	fd::delegate1<void, double> onUpdate;
	fd::delegate2<void, int, int> onResize;

private:
	bool m_isRunning;
};
